package IMIC_TrinhCongDoc.bai01;

public class model {
	public boolean KTdangnhap(use use01) {
		if (use01.UseName.isEmpty()) {
			return false;
		} else {
			return true;
		}
	}

	public boolean KTpass(use use01) {
		if (use01.Pass.isEmpty()) {
			return false;
		} else {
			return true;
		}

	}

	public boolean KTlogin (use use01){
		if (use01.UseName.equals("admin") && use01.Pass.equals("admin"))
				{
			return true;
			
		}else{
			return false;
			
		}
	}

}
